import service from '@/utils/request'

// @Tags LargeScaleOrderAccessorySpec
// @Summary 创建大办单-配件规格清单
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderAccessorySpec true "创建大办单-配件规格清单"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /largeScaleOrderAccessorySpec/createLargeScaleOrderAccessorySpec [post]
export const createLargeScaleOrderAccessorySpec = (data) => {
  return service({
    url: '/largeScaleOrderAccessorySpec/createLargeScaleOrderAccessorySpec',
    method: 'post',
    data
  })
}

// @Tags LargeScaleOrderAccessorySpec
// @Summary 删除大办单-配件规格清单
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderAccessorySpec true "删除大办单-配件规格清单"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderAccessorySpec/deleteLargeScaleOrderAccessorySpec [delete]
export const deleteLargeScaleOrderAccessorySpec = (params) => {
  return service({
    url: '/largeScaleOrderAccessorySpec/deleteLargeScaleOrderAccessorySpec',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderAccessorySpec
// @Summary 批量删除大办单-配件规格清单
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除大办单-配件规格清单"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderAccessorySpec/deleteLargeScaleOrderAccessorySpec [delete]
export const deleteLargeScaleOrderAccessorySpecByIds = (params) => {
  return service({
    url: '/largeScaleOrderAccessorySpec/deleteLargeScaleOrderAccessorySpecByIds',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderAccessorySpec
// @Summary 更新大办单-配件规格清单
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderAccessorySpec true "更新大办单-配件规格清单"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /largeScaleOrderAccessorySpec/updateLargeScaleOrderAccessorySpec [put]
export const updateLargeScaleOrderAccessorySpec = (data) => {
  return service({
    url: '/largeScaleOrderAccessorySpec/updateLargeScaleOrderAccessorySpec',
    method: 'put',
    data
  })
}

// @Tags LargeScaleOrderAccessorySpec
// @Summary 用id查询大办单-配件规格清单
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.LargeScaleOrderAccessorySpec true "用id查询大办单-配件规格清单"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /largeScaleOrderAccessorySpec/findLargeScaleOrderAccessorySpec [get]
export const findLargeScaleOrderAccessorySpec = (params) => {
  return service({
    url: '/largeScaleOrderAccessorySpec/findLargeScaleOrderAccessorySpec',
    method: 'get',
    params
  })
}

// @Tags LargeScaleOrderAccessorySpec
// @Summary 分页获取大办单-配件规格清单列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取大办单-配件规格清单列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /largeScaleOrderAccessorySpec/getLargeScaleOrderAccessorySpecList [get]
export const getLargeScaleOrderAccessorySpecList = (params) => {
  return service({
    url: '/largeScaleOrderAccessorySpec/getLargeScaleOrderAccessorySpecList',
    method: 'get',
    params
  })
}
